#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include <dirent.h>
#include<unistd.h>
#include<sys/types.h>

int main(int argc,char * argv[]){
    DIR * dir;
    struct dirent *ptr;

    dir = opendir("./");
    while((ptr = readdir(dir)) != NULL){
        printf("d_name: %s\n",ptr->d_name);
    }    
    printf("%-10d 10\n",1234567890);
    printf("\t");
    
    FILE * fp = fopen("./test","w");

    fwrite("$$$$$$$$$$",1,10,fp);

    fclose(fp);
    void * k = malloc(8);
    int * l = k;
    *l = 10;
    *(l+1) = 20;
    printf("\n%8d|||%8d\n" ,*l,*(l+1));
    return 0;

}